package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐馆对象 res_info
 * 
 * @author ruoyi
 * @date 2025-05-29
 */
public class ResInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 餐馆id */
    private Long resId;

    /** 餐馆名 */
    @Excel(name = "餐馆名")
    private String resName;

    /** 平均价位 */
    @Excel(name = "平均价位")
    private BigDecimal avgPrice;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 餐馆图片 */
    @Excel(name = "餐馆图片")
    private String imgUrl;

    /** 团购购买数量 */
    @Excel(name = "团购购买数量")
    private Long groupBuyCount;

    /** 客服电话 */
    @Excel(name = "客服电话")
    private String serviceTel;

    /** 餐馆介绍 */
    @Excel(name = "餐馆介绍")
    private String resDesc;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 状态（0闭店 1正常营业） */
    @Excel(name = "状态", readConverterExp = "0=闭店,1=正常营业")
    private Long status;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    /** 餐馆公告 */
    @Excel(name = "餐馆公告")
    private String notice;

    /** 整体评分 */
    @Excel(name = "整体评分")
    private BigDecimal overallScore;

    /** 餐馆备用字段 */
    @Excel(name = "餐馆备用字段")
    private String field;

    private Integer orderNum;
    private List<ResPackage> resPackageList;

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public List<ResPackage> getResPackageList() {
        return resPackageList;
    }

    public void setResPackageList(List<ResPackage> resPackageList) {
        this.resPackageList = resPackageList;
    }

    public ResCategory getResCategory() {
        return resCategory;
    }

    public void setResCategory(ResCategory resCategory) {
        this.resCategory = resCategory;
    }

    @Excel(name = "餐馆所属分类")
    private ResCategory resCategory;


    public void setResId(Long resId) 
    {
        this.resId = resId;
    }

    public Long getResId() 
    {
        return resId;
    }

    public void setResName(String resName) 
    {
        this.resName = resName;
    }

    public String getResName() 
    {
        return resName;
    }

    public void setAvgPrice(BigDecimal avgPrice) 
    {
        this.avgPrice = avgPrice;
    }

    public BigDecimal getAvgPrice() 
    {
        return avgPrice;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public void setGroupBuyCount(Long groupBuyCount) 
    {
        this.groupBuyCount = groupBuyCount;
    }

    public Long getGroupBuyCount() 
    {
        return groupBuyCount;
    }

    public void setServiceTel(String serviceTel) 
    {
        this.serviceTel = serviceTel;
    }

    public String getServiceTel() 
    {
        return serviceTel;
    }

    public void setResDesc(String resDesc) 
    {
        this.resDesc = resDesc;
    }

    public String getResDesc() 
    {
        return resDesc;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setNotice(String notice) 
    {
        this.notice = notice;
    }

    public String getNotice() 
    {
        return notice;
    }

    public void setOverallScore(BigDecimal overallScore) 
    {
        this.overallScore = overallScore;
    }

    public BigDecimal getOverallScore() 
    {
        return overallScore;
    }

    public void setField(String field) 
    {
        this.field = field;
    }

    public String getField() 
    {
        return field;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resId", getResId())
            .append("resName", getResName())
            .append("avgPrice", getAvgPrice())
            .append("address", getAddress())
            .append("imgUrl", getImgUrl())
            .append("groupBuyCount", getGroupBuyCount())
            .append("serviceTel", getServiceTel())
            .append("resDesc", getResDesc())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("categoryId", getCategoryId())
            .append("notice", getNotice())
            .append("overallScore", getOverallScore())
            .append("field", getField())
            .append("resCategory", getResCategory())
            .toString();
    }
}
